spl: consolidate arch/arm/include/asm/arch-*/spl.h
authorMasahiro Yamada <[email protected]>
Wed, 23 Apr 2014 12:20:43 +0000 (21:20 +0900)
committerStefano Babic <[email protected]>
Fri, 6 Jun 2014 08:05:34 +0000 (10:05 +0200)
commit9f2ec3f5431281a480c89107cb952ca5571d78e7
tree3e37fedf3a588a1d355eb7899404080eb0cf9100
parent3a5648259014abba09ea7f243b244b60660d4358
spl: consolidate arch/arm/include/asm/arch-*/spl.h

arch/arm/include/asm/spl.h requires all SoCs to have
arch/arm/include/asm/arch-*/spl.h.

But many of them just define BOOT_DEVICE_* macros.

Those macros are used in the "switch (boot_device) { ... }"
statement in common/spl/spl.c.

So they should not be archtecture specific, but be described as
a simpile enumeration.

This commit merges most of arch/arm/include/asm/arch-*/spl.h
into arch/arm/include/asm/spl.h.

With a little more effort, arch-zynq/spl.h and arch-socfpga/spl.h
will be merged, while I am not sure about OMAP and Exynos.

Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Andreas Bießmann <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Tom Warren <[email protected]>
CC: Stefano Babic <[email protected]>
CC: Minkyu Kang <[email protected]>
Cc: Dinh Nguyen <[email protected]>
Acked-by: Andreas Bießmann <[email protected]>
Acked-by: Michal Simek <[email protected]>
Acked-by: Stefano Babic <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Acked-by: Tim Harvey <[email protected]>
Tested-by: Bo Shen <[email protected]> [on sama5d3xek board for at91 part]
Acked-by: Stephen Warren <[email protected]>
Tested-by: Stefano Babic <[email protected]> [applying Tim's i.MX6 patches]
Acked-by: Tom Rini <[email protected]>
arch/arm/cpu/arm720t/tegra-common/spl.c
arch/arm/include/asm/arch-at91/spl.h [deleted file]
arch/arm/include/asm/arch-davinci/spl.h [deleted file]
arch/arm/include/asm/arch-mx35/spl.h [deleted file]
arch/arm/include/asm/arch-mx5/spl.h [deleted file]
arch/arm/include/asm/arch-tegra114/spl.h [deleted file]
arch/arm/include/asm/arch-tegra124/spl.h [deleted file]
arch/arm/include/asm/arch-tegra20/spl.h [deleted file]
arch/arm/include/asm/arch-tegra30/spl.h [deleted file]
arch/arm/include/asm/spl.h
board/denx/m53evk/m53evk.c